package com.hzqy.web.login;

import java.util.Observable;

import javax.servlet.http.HttpServletRequest;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;


public class RecsourceSession extends ObserverFather {
	private static final Log LOG = LogFactory.getLog(RecsourceSession.class);
	public RecsourceSession(HttpServletRequest request) {
		super(request);
	}
	public void update(Observable o, Object arg) {
		String recsource = request.getParameter("recsource");
		if(recsource != null){
			session.setAttribute(SessionKey.SESSION_RECSOURCE, recsource);
		}
	}
}
